﻿@namespace BootstrapBlazor.Components
@inherits BootstrapComponentBase

<Modal @ref="ModalContainer" IsBackdrop="IsBackdrop" IsKeyboard="@IsKeyboard" OnShownAsync="@OnShownAsync" OnCloseAsync="OnCloseAsync">
    @for (var index = 0; index < DialogParameters.Keys.Count; index++)
    {
        @RenderDialog(index, DialogParameters.Keys.ElementAt(index))
    }
</Modal>
